package xjtu.se.articlecommunity.user.articledetail.dto;

import java.util.ArrayList;

public class CommentInfo {
    private String c_id;
    private String u_id;
    private String u_name;
    private String bu_name;
    private String u_avatar;
    private String c_date;
    private String c_detail;
    private String fc_id;
    private String grandfc_id;
    private boolean like;
    private int commentLikeNum;

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }
//    public String getLike() {
//        return like;
//    }
//
//    public void setLike(String like) {
//        this.like = like;
//    }

    public int getCommentLikeNum() {
        return commentLikeNum;
    }

    public void setCommentLikeNum(int commentLikeNum) {
        this.commentLikeNum = commentLikeNum;
    }

    public String getBu_name() {
        return bu_name;
    }

    public void setBu_name(String bu_name) {
        this.bu_name = bu_name;
    }

    public CommentInfo(){
        children=new ArrayList<CommentInfo>();
    }
    public String getFc_id() {
        return fc_id;
    }

    public void setFc__id(String fc_id) {
        this.fc_id = fc_id;
    }

    public String getGrandfc_id() {
        return grandfc_id;
    }

    public void setGrandfc_id(String grandfc_id) {
        this.grandfc_id = grandfc_id;
    }

    private ArrayList<CommentInfo> children;

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public ArrayList<CommentInfo> getChildren() {
        return children;
    }

    public void setChildren(ArrayList<CommentInfo> children) {
        this.children = children;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_avatar() {
        return u_avatar;
    }

    public void setU_avatar(String u_avatar) {
        this.u_avatar = u_avatar;
    }

    public String getC_date() {
        return c_date;
    }

    public void setC_date(String c_date) {
        this.c_date = c_date;
    }

    public String getC_detail() {
        return c_detail;
    }

    public void setC_detail(String c_detail) {
        this.c_detail = c_detail;
    }
}
